package com.joysuch.wwyt.risk.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author ZhaoQiuWei
 * @Date 2021/12/21 17:20
 */
@Data
public class RiskItemEvalCountRecordVo {

    @ApiModelProperty(value = "操作:+1  -1")
    private String operation;

    @ApiModelProperty(value = "操作类型")
    private String operationType;

    @ApiModelProperty(value = "接口url")
    private String url;

    @ApiModelProperty(value = "评估item id")
    private Long itemId;

    @ApiModelProperty(value = "备注")
    private String remark;

    private String orgCode;

    private Long tenentId;

    public RiskItemEvalCountRecordVo() {
    }

    public RiskItemEvalCountRecordVo(String operationType, String url,Long itemId) {
        this.operationType = operationType;
        this.url = url;
        this.itemId = itemId;
    }

    public RiskItemEvalCountRecordVo(String operation, String operationType, String url, Long itemId) {
        this.operation = operation;
        this.operationType = operationType;
        this.url = url;
        this.itemId = itemId;
    }

    public RiskItemEvalCountRecordVo(String operation, String operationType, String url, Long itemId, String orgCode, Long tenentId) {
        this.operation = operation;
        this.operationType = operationType;
        this.url = url;
        this.itemId = itemId;
        this.orgCode = orgCode;
        this.tenentId = tenentId;
    }

    @Override
    public String toString() {
        return "RiskItemEvalCountRecordVo{" +
                "operation='" + operation + '\'' +
                ", operationType='" + operationType + '\'' +
                ", url='" + url + '\'' +
                ", itemId=" + itemId +
                ", remark='" + remark + '\'' +
                ", orgCode='" + orgCode + '\'' +
                ", tenentId=" + tenentId +
                '}';
    }
}
